﻿<navigation:Page xmlns:riaControls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.DomainServices"  xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"  x:Class="SilverlightApplicationReservations.Home" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
    xmlns:domain="clr-namespace:SilverlightApplicationReservations.Web"
    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480"
    Title="Home"
    Style="{StaticResource PageStyle}">

    <Grid x:Name="LayoutRoot">
        <ScrollViewer x:Name="PageScrollViewer" Style="{StaticResource PageScrollViewerStyle}">

            <Canvas>
                <sdk:DataGrid x:Name="dataGridEvents" Height="236" Width="628" Canvas.Left="6" Canvas.Top="6" IsReadOnly="True" AutoGenerateColumns="False">
                    <sdk:DataGrid.Columns>
                        <sdk:DataGridTextColumn Header="Event" Binding="{Binding Name}" Width="*"></sdk:DataGridTextColumn>
                        <sdk:DataGridTextColumn Header="Location" Binding="{Binding LocationName}" Width="*"></sdk:DataGridTextColumn>
                        <sdk:DataGridTextColumn Header="Category" Binding="{Binding CategoryName}" Width="*"></sdk:DataGridTextColumn>
                        <sdk:DataGridTextColumn Header="Date" Binding="{Binding DateTime}" Width="*"></sdk:DataGridTextColumn>
                        <sdk:DataGridTextColumn Header="Price" Binding="{Binding Price}" Width="*"></sdk:DataGridTextColumn>
                    </sdk:DataGrid.Columns>
                </sdk:DataGrid>

                <sdk:DataPager Canvas.Left="6" Canvas.Top="248" Width="628">
                </sdk:DataPager>

              
            </Canvas>

        </ScrollViewer>
    </Grid>

</navigation:Page>